package com.example.hotel_lxy.bean;

import java.util.List;

public class FoodDialogBean {


    /**
     * code : 0
     * msg : 成功
     * data : {"list":[{"name":"特色主菜","data":[{"id":4,"name":"鱼香茄子1","num":1,"money":25,"tid":2},{"id":2,"name":"鱼香茄子2","num":1,"money":25,"tid":2}]},{"name":"特色主菜123","data":[{"id":3,"name":"茄子1","num":1,"money":100,"tid":3},{"id":5,"name":"茄子2","num":1,"money":100,"tid":3}]}]}
     */

    private String code;
    private String msg;
    private DataBeanX data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * name : 特色主菜
             * data : [{"id":4,"name":"鱼香茄子1","num":1,"money":25,"tid":2},{"id":2,"name":"鱼香茄子2","num":1,"money":25,"tid":2}]
             */

            private String name;
            private List<DataBean> data;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<DataBean> getData() {
                return data;
            }

            public void setData(List<DataBean> data) {
                this.data = data;
            }

            public static class DataBean {
                /**
                 * id : 4
                 * name : 鱼香茄子1
                 * num : 1
                 * money : 25
                 * tid : 2
                 */

                private int id;
                private String name;
                private int num;
                private String money;
                private int tid;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public String getMoney() {
                    return money;
                }

                public void setMoney(String money) {
                    this.money = money;
                }

                public int getTid() {
                    return tid;
                }

                public void setTid(int tid) {
                    this.tid = tid;
                }
            }
        }
    }
}
